package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

import java.util.List;

public interface MenuService {
    List<Menu> findMenuList(String username);

    PageResult<Menu> findPage(QueryPageBean queryPageBean);

    List<Menu> findAll();

    void add(Menu menu);

    void deleteById(Integer menuId);

    void update(Menu menu);

    Menu findMenuById(Integer Id);

    List<Menu> findMainAll();
}